package com.gzq.composite.sgw;

public class Client {
    public static void main(String[] args) {
        OrganizationComponent university = new University("北京大学","211、985超一流大学");

        OrganizationComponent computer = new College("计算机学院","北大计算机学院");

        OrganizationComponent info = new College("信息技术","北大计算机学院信息技术");

        computer.add(info);
        university.add(computer);

        university.print();

    }
}
